package com.ld.security.cloud.nacos;


import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 *  启动包
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@EnableDiscoveryClient      // 服务注册与发现
@EnableFeignClients  //远程调用
//  @EnableDistributedTransaction //分布式事务

public @interface EnableNacos {
}
